package com.cloudbroker.bcs.platform.ltb.bizapi.t2service.social;

import com.cloudbroker.bcs.common.entity.HSBCPSBackVO;
import com.cloudbroker.bcs.platform.ltb.bizapi.constants.IFSFunctionIds;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.ask.back.AskDetailBack;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.ask.back.AskFreeBack;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.ask.back.AskListQryBack;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.ask.back.AskSearchBack;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.ask.vo.*;
import com.hundsun.jresplus.remoting.impl.annotation.Service;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceModule;

/**
 * Created by daibd19671 on 2016/11/18.
 */
@ServiceModule
public interface AskT2BizService {

    @Service(functionId = IFSFunctionIds.IFSLTBSocialFunIds.FUNC_ASK_ADD, desc = "添加问问")
    HSBCPSBackVO func_ask_add(AskAddForm form);


    @Service(functionId = IFSFunctionIds.IFSLTBSocialFunIds.FUNC_ASK_LIST_QRY, desc = "问问列表")
    AskListQryBack func_ask_list_qry (AskListQryForm form);

    @Service(functionId = IFSFunctionIds.IFSLTBSocialFunIds.FUNC_ASK_REMOVE, desc = "问答屏蔽")
    HSBCPSBackVO func_ask_remove(AskRemoveForm form);

    @Service(functionId = IFSFunctionIds.IFSLTBSocialFunIds.FUNC_ASK_DETAIL, desc = "问答详情")
    AskDetailBack func_ask_detail(AskDetailForm form);

    @Service(functionId = IFSFunctionIds.IFSLTBSocialFunIds.FUNC_ASK_UPVOTE, desc = "问答点赞")
    HSBCPSBackVO func_ask_upvote(AskUpvoteForm form);

    @Service(functionId = IFSFunctionIds.IFSLTBSocialFunIds.FUNC_ASK_SEARCH, desc = "问答搜索")
    AskSearchBack func_ask_search(AskSearchForm form);

    @Service(functionId = IFSFunctionIds.IFSLTBSocialFunIds.FUNC_ASK_FREE, desc = "免费问答次数查询")
    AskFreeBack func_ask_free(AskFreeForm form);

    @Service(functionId = IFSFunctionIds.IFSLTBSocialFunIds.FUNC_GET_LEADER_ASK, desc = "查询投顾问答列表")
    AskListQryBack func_get_leader_ask(LeaderAsk form);
    @Service(functionId = IFSFunctionIds.IFSLTBSocialFunIds.FUNC_LEADER_ASK_LIST_QRY, desc = "投顾端查询问答列表")
    AskListQryBack func_leader_ask_list_qry(AskListQryForm form);
}
